<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        html,body{
    height: 100%;
}
body{
    background-image: url(./bg.jpeg);
    display: flex;
    justify-content: center;
    align-items: center;
}

        .box{
            width: 400px;
            height: 300px;
            background-color: white;
            /* position: absolute;
            top: 21%;
            left: 37%; */
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            border-radius: 10px;
            overflow: hidden;
            text-align: center;
        }
        input{
            width: 300px;
            height: 40px;
        }
        p{
            width: 100%;
            height: 60px;
            background-color: #47E6FF;
            color: white;
            line-height: 60px;
            font-size: 20px;
           
        }
        a{
           height: 30px;
           display: block;
        }
        button{
            width: 60px;
            height: 40px;
            background-color: #48FF48;
            border: 0;
            color: white;
            border-radius: 6px;
        }
        .box div{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
    </style>
</head>
<body>
    <div class="box">
        <p>登录</p>
       <div>
        <input type="text" placeholder="输入用户名">
        <input type="text" placeholder="输入密码">
        <a href="./register.html" >没有账号，去注册</a>
       </div>
       <button>登录</button>
    </div>
</body>
</html>
<script src="./js/axios.min.js"></script>
<script src="./js/login.js"></script>